cmake_minimum_required(VERSION 3.13)

include(${CMAKE_CURRENT_LIST_DIR}/cmake/srcfilenamesave.cmake)

project(helloworld.elf C)

add_subdirectory(hello-world)

aux_source_directory(${CMAKE_CURRENT_LIST_DIR} SRC_FILES)
filename_save(${SRC_FILES})

add_executable(${PROJECT_NAME} ${SRC_FILES})

target_link_libraries(${PROJECT_NAME} PRIVATE helloworld)
